home *** CD-ROM | disk | FTP | other *** search
/ The Mac 13 / the-mac-13.iso / On The Rom / 100 Best Mac CD-ROMs Selection / UNZIP-DEMO / ZIPFILES / shared.Dir / 00884.ls < prev    next >
Encoding:
Text File  |  1995-06-15  |  1.6 KB  |  54 lines

  1. on volguy
  2.   puppetSound("ahloop")
  3.   set ev to the locV of sprite 38
  4.   set eh to the locH of sprite 38
  5.   set mv to the locV of sprite 37
  6.   set mh to the locH of sprite 37
  7.   set sl to 4
  8.   set the soundLevel to sl
  9.   set kk to the mouseV
  10.   repeat while the mouseDown
  11.     set the locV of sprite 38 to the mouseV
  12.     if the mouseV > (ev + 20) then
  13.       set the locV of sprite 38 to ev + 12
  14.       set the locH of sprite 38 to eh - 4
  15.       set the locV of sprite 37 to mv + 5
  16.       set the locH of sprite 37 to mh + 1
  17.       set the volume of sound 1 to 72
  18.       set sl to 2
  19.       set the castNum of sprite 38 to 974
  20.       updateStage()
  21.     end if
  22.     if the mouseV < (ev - 20) then
  23.       set the locV of sprite 38 to ev - 12
  24.       set the locH of sprite 38 to eh + 5
  25.       set the locV of sprite 37 to mv + 15
  26.       set the locH of sprite 37 to mh + 2
  27.       set the volume of sound 1 to 255
  28.       set sl to 7
  29.       set the castNum of sprite 38 to 972
  30.       updateStage()
  31.     end if
  32.     if the mouseV < (ev + 19) then
  33.       if the mouseV > (ev - 19) then
  34.         set the locV of sprite 38 to ev
  35.         set the locH of sprite 38 to eh
  36.         set the locV of sprite 37 to mv + 10
  37.         set the locH of sprite 37 to mh + 2
  38.         set the volume of sound 1 to 145
  39.         set sl to 4
  40.         set the castNum of sprite 38 to 973
  41.         updateStage()
  42.       end if
  43.     end if
  44.   end repeat
  45.   puppetSound(0)
  46.   set the soundLevel to sl
  47.   set the locV of sprite 38 to ev
  48.   set the locH of sprite 38 to eh
  49.   set the locV of sprite 37 to mv
  50.   set the locH of sprite 37 to mh
  51.   set the castNum of sprite 38 to 973
  52.   updateStage()
  53. end
  54.